home *** CD-ROM | disk | FTP | other *** search
- =========================================================
- $VER: CheckModem 1.3 (30.9.98) Copyright (c) Nils Görs
- =========================================================
-
- it's a program to check the status from a connected modem out of an Arexx-
- or an Shell-Script.
-
-
-
- COPYRIGHT NOTICE
-
- This program is Copyright (c) 1996 Nils Görs, all rights reserved.
- You may however freely use it and give copies to your friends, as long as
- you don't add data to or remove data from the distribution archive. You may
- *NOT* include any part of the distribution archive in a commercial software
- package, without my permission. If you have comments or suggestions, feel
- free to contact me. Use PGP-encrypted Email when possible, you can find my
- public key at the end of this file.
-
- Nils Görs Email: N.Goers@Art-Line.de
- Kaiserstr.97a
- 42329 Wuppertal
- Germany
-
-
-
- TEMPLATE
- DEVICENAME/A for example: artser.device
-
- UNIT/A/N Unitnumber
-
- WARN/S always returns WARN as maximum returncode if an error occurs.
-
-
-
- RETURNCODES
-
- RETURN_OK = 0 (Modem ON)
- RETURN_WARN = 5 (Modem OFF)
- RETURN_ERROR = 10 (Device is busy)
- RETURN_FAIL = 20 (something wrong)
-
-
-
- EXAMPLE (from my User-Startup)
-
- CheckModem artser.device 0
- if warn
- echo "Modem off"
- else
- echo "Modem on, starting voicerecorder!"
- SYS:Dfue/ZVT/Start_ZVT
- endif
-
-
-
- HISTORY
-
- 1.0 (??.??.94) --- internal Version ---
- till an request from one User in /Z-NETZ/RECHNER/AMIGA/SOFTWARE
-
- 1.1 (17.9.96) Error in Template fixed (=> Jörg Strohmayer)
- recognized of MultiIO cards (=> Norbert Dimpfl)
- more efficient error-handling (=> Nils Görs;-)
-
- 1.2 (8.9.98) problems fixed when parallele port was in use.
- (but i don't know if it's still work correctly with
- MultiIO-cards!)
-
- 1.3 (30.9.98) WARN/S switch implemented (=> Robert Wilson)
-
- -----BEGIN PGP PUBLIC KEY BLOCK-----
- Version: 2.6.3i
-
- mQBNAi+MXhYAAAECAMgnLoI79hQT1HEqBMTcH4eIRjebkMF4fi3zdRgsMG+fXPMz
- DqTMqkJ8CGjfCN4DpFbMcXzjXSNChAKRgNkA6QUABRG0IE5pbHMgR29lcnMgPE4u
- R29lcnNAQXJ0LUxpbmUuZGU+iQBVAwUQMcryKoQCkYDZAOkFAQHrigH/aVSvDE3f
- fcJxHhk0azTW+A/Xvx8xwYpgTsUHvnDLcL9t0oKLUukJ+JmivZi1Unefqc4UjTNn
- ft/oRNlgGwH2pbQpTmlscyBHb2VycyA8Ti5Hb2Vyc0BBcnQtTGluZS5hcnQtbGlu
- ZS5kZT6JAFUCBRAvjF52hAKRgNkA6QUBARJwAgCftsE56RsbsY+gt23I1XxtoQdc
- BbASzy2X7vjTHDkX1oQ9UX5b/tM8TFeiXknmDHc3G3VsVJurLcC9HVoOryZ4
- =8DS7
- -----END PGP PUBLIC KEY BLOCK-----
-